package org.jeecg.modules.interceptor;

public class CustomContext {
    public static ThreadLocal<CustomInfo> customInfoThreadLocal = new ThreadLocal<>();


    public static void set(CustomInfo customInfo) {
        customInfoThreadLocal.set(customInfo);
    }

    public static CustomInfo get() {
        CustomInfo customInfo = customInfoThreadLocal.get();
        return customInfo;
    }


    public static void remove() {
        customInfoThreadLocal.remove();
    }

}
